package cn.rxmind.dlog.common;

import java.util.List;

/**
 *
 * @description 用于缓存的队列
 *
 * @author renxin
 * @email renxinzhiliangzhi@163.com
 * @date 2020/7/10 1:21 下午
 */
public interface DLogDataBuffer {

    boolean add(DLogData logData);

    List<DLogData> batchTake(int num);

    int size();

}
